package com.hbyj.object;

import com.hbyj.hbm.vo.Roles;

public class RoleForFlexiGrid implements IFlexiGridable {
	private int id;
	private String role_name;
	private String role_remarks;
	
	public void initObjectByHibernateClass(Object hiberObj) {
		Roles roles = (Roles)hiberObj;
		this.id = roles.getId();
		this.role_name = roles.getName();
		this.role_remarks = roles.getRemarks();
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_remarks(String role_remarks) {
		this.role_remarks = role_remarks;
	}

	public String getRole_remarks() {
		return role_remarks;
	}
	
}
